package org.model

class Profile {

    static belongsTo = User
	static auditable = true
	
    byte[] photo

    String fullName
    String bio
    String email


    static constraints = {
        fullName(nullable: true)
        bio(nullable: true, maxSize: 1000)
        email(email: true, nullable: true)
        photo(nullable: true)

    }

    String toString() {
       this.fullName
    }

}
